<%@ page contentType="text/html" language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib  uri="/struts-tags" prefix="s"%>
<jsp:include page="../include/_dwz_form_head.jsp" />
<div class="pageHeader">
    <form rel="pagerForm" onsubmit="return navTabSearch(this);" action="systemsetting/ModuleList" method="post">
        <div class="searchBar">
            <ul class="searchContent">
                <li>
                    <label>
                       模块名称：
                    </label>
                    <input type="text" id="modulename" name="c_T_Sys_Module.modulename" value="${c_T_Sys_Module.modulename}"/>
                </li>
            </ul>
            <div class="subBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">
                                    搜索
                                </button>
                            </div>
                        </div>
                    </li>
                  
                </ul>
            </div>
        </div>
    </form>
</div>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <li>
                <a class="add" href="systemsetting/ModuleDetail" target="navTab" rel="ModuleDetail"><span>添加</span></a>
            </li>
            <li>
                <a title="确实要删除这些记录吗?" target="selectedTodo" rel="checkIds" href="systemsetting/ModuleDelete" class="delete"><span>删除</span></a>
          
            <li class="line">
                line
            </li>
           
        </ul>
    </div>
    
    <table class="table" width="100%" layoutH="123">
        <thead>
            <tr>
                <th width="1%">
                    <input type="checkbox" name="checkIds" group="checkIds" class="checkboxCtrl">
                </th>
                <th width="2%" >
              序号        
                </th>
                 <th width="10%" orderField="moduleid" <c:if test="${(pager.orderField)== 'moduleid' }">class="${pager.orderDirection}"</c:if>>
              模块编号
                </th>
             
                <th width="10%" orderField="modulename" <c:if test="${(pager.orderField)== 'modulename' }">class="${pager.orderDirection}"</c:if>>
                    模块名称
                </th>
                <th width="10%" orderField="sort" <c:if test="${(pager.orderField)== 'sort' }">class="${pager.orderDirection}"</c:if>>
                    排序号
                </th>
                <th width="10%" orderField="linkurl" <c:if test="${(pager.orderField)== 'linkurl' }">class="${pager.orderDirection}"</c:if>>
                    链接地址
                </th>
                <th width="10%" orderField="parenmodule" <c:if test="${(pager.orderField)== 'parenmodule' }">class="${pager.orderDirection}"</c:if>>
                    父模块
                </th>
                <th width="5%">
                    操作
                </th>
            </tr>
        </thead>
        <tbody>
    
        <c:forEach items="${pager.pageRecords}" var="c_T_Sys_Module" varStatus="s">
            <tr target="sid_user" rel="1">
                <td>
                    <input name="checkIds" value="${c_T_Sys_Module.moduleuuid}" type="checkbox">
                </td>
                 <td>
                  ${s.count +pager.pageSize*(pager.currentPage-1)}
                </td>
                <td>
                    ${c_T_Sys_Module.moduleid}
                </td>
                 <td>
                    ${c_T_Sys_Module.modulename}
                </td>
                 <td>
                    ${c_T_Sys_Module.sort}
                </td>
                <td>
                    ${c_T_Sys_Module.linkurl}
                </td>
                 <td>
                    ${c_T_Sys_Module.parenmodule}
                </td>
                <td>
                    <a title="删除" target="ajaxTodo" href="systemsetting/ModuleDelete?checkIds=${c_T_Sys_Module.moduleuuid}" class="btnDel">删除</a>
                    <a title="编辑" target="navTab" href="systemsetting/ModuleDetail?c_T_Sys_Module.moduleuuid=${c_T_Sys_Module.moduleuuid}" rel="editMsg" class="btnEdit">编辑</a>
                </td>
            </tr>
            </c:forEach>
        </tbody>
    </table>
    
    <div class="panelBar">
        <jsp:include page="../include/_dwz_form_bottom.jsp" />
    </div>
</div>
